package com.wuliu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuliu
 * @since 2022-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ExOrder对象", description="")
public class ExOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "订单id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "下单用户")
    private Integer userId;

    @ApiModelProperty(value = "订单价格")
    private Double price;

    @ApiModelProperty(value = "运送货物货车")
    private Integer carId;

    @ApiModelProperty(value = "起始地")
    private String startPoint;

    @ApiModelProperty(value = "目的地")
    private String endPoint;

    @ApiModelProperty(value = "收货人id")
    private Integer shouhuoId;

    @ApiModelProperty(value = "发货人id")
    private Integer fahuoId;

    @ApiModelProperty(value = "寄送物品重量 kg")
    private Float wight;

    @ApiModelProperty(value = "订单状态")
    private String status;

    @TableField(exist = false)
    private ExUser exUser;

    @TableField(exist = false)
    private ExCar exCar;

    @TableField(exist = false)
    private ExLx exLx;

    @ApiModelProperty(value = "目的地")
    private String prNmae;


}
